package org.sky.model;

import javax.persistence.*;


/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 12-10-23
 * Time: 下午1:25
 * To change this template use File | Settings | File Templates.
 */

@Entity
public class Meal {

    /**
     * 套餐编号
     */
    private int mealId;

    /**
     * 套餐名
     */
    private String mealName;

    /**
     * 情侣房价格
     */
    private double coupleRoomPrice;

    /**
     * 标准房价格
     */
    private double standardRoomPrice;

    /**
     * 中房价格
     */
    private double middleRoomPrice;

    /**
     * 大房价格
     */
    private double bigRoomPrice;

    /**
     * vip房价格
     */
    private double vipRoomPrice;


    @Id
    @GeneratedValue
    public int getMealId() {
        return mealId;
    }

    public void setMealId(int mealId) {
        this.mealId = mealId;
    }

    @Column(nullable = false, length = 10)
    public String getMealName() {
        return mealName;
    }

    public void setMealName(String mealName) {
        this.mealName = mealName;
    }

    @Column(nullable = false)
    public double getCoupleRoomPrice() {
        return coupleRoomPrice;
    }

    public void setCoupleRoomPrice(double coupleRoomPrice) {
        this.coupleRoomPrice = coupleRoomPrice;
    }

    @Column(nullable = false)
    public double getStandardRoomPrice() {
        return standardRoomPrice;
    }

    public void setStandardRoomPrice(double standardRoomPrice) {
        this.standardRoomPrice = standardRoomPrice;
    }

    @Column(nullable = false)
    public double getMiddleRoomPrice() {
        return middleRoomPrice;
    }

    public void setMiddleRoomPrice(double middleRoomPrice) {
        this.middleRoomPrice = middleRoomPrice;
    }

    @Column(nullable = false)
    public double getBigRoomPrice() {
        return bigRoomPrice;
    }

    public void setBigRoomPrice(double bigRoomPrice) {
        this.bigRoomPrice = bigRoomPrice;
    }

    @Column(nullable = false)
    public double getVipRoomPrice() {
        return vipRoomPrice;
    }

    public void setVipRoomPrice(double vipRoomPrice) {
        this.vipRoomPrice = vipRoomPrice;
    }
}
